package com.crazy.bookstore;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class TestController {

    @PostMapping("/test01")
    public Map test01(String content){
        Map map=new HashMap<>();
        map.put("test","测试"+content);
        return map;
    }

}
